package org.NooLab.structures.randomgraph;

public class RawEntityPosition {

	public static final int _ENTITY_WORD = 1;
	public static final int _ENTITY_SENTENCE = 1;
	
	/**   */
	String  textualStr ;
	
	/** the actual index of the entity */
	int 	startByEntity    = -1;
	
	/** "EntitySub" means: if word, then it is the pos by char; if sentence, then it is pos by word */
	int 	startByEntitySub = -1;
	
	/**   */
	int 	endByEntitySub   = -1;
	
	int type = _ENTITY_WORD;
	
	// ------------------------------------------------------------------------
	public RawEntityPosition(){
		
	}
	// ------------------------------------------------------------------------
	
	
	public String getWordStr() {
		return textualStr;
	}

	public void setWordStr(String wordStr) {
		this.textualStr = wordStr;
	}


	public String getTextualStr() {
		return textualStr;
	}


	public void setTextualStr(String textualStr) {
		this.textualStr = textualStr;
	}



	public int getType() {
		return type;
	}


	public void setType(int type) {
		this.type = type;
	}


	public int getStartByEntitySub() {
		return startByEntitySub;
	}


	public void setStartByEntitySub(int startByEntitySub) {
		this.startByEntitySub = startByEntitySub;
	}


	public int getEndByEntitySub() {
		return endByEntitySub;
	}


	public void setEndByEntitySub(int endByEntitySub) {
		this.endByEntitySub = endByEntitySub;
	}


	public int getStartByEntity() {
		return startByEntity;
	}


	public void setStartByEntity(int startByEntity) {
		this.startByEntity = startByEntity;
	}



	
}
